<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">  
    <title>My JSP 'apply_Project.jsp' starting page</title>   
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
 <center>
   	<h2>申请项目</h2>
   	<s:debug></s:debug>
	<s:set name="project" value="#request.project"/>	
	
	<table border="1">
		<tr>
			<td>项目ID</td>
			<td><s:property value="#project.pid"/></td>
		</tr>
		<tr>
			<td width="80">项目名</td>
			<td width="200"><s:property value="#project.name"/></td>
		</tr>
		<tr>
			<td>状态</td>
			<td><s:property value="#project.status"/></td>
		</tr>
		<tr>
			<td>开始时间</td>
			<td><s:property value="#project.startTime"/></td>
		</tr>
		<tr>
			<td>报名截止时间</td>
			<td><s:property value="#project.endtTime "/></td>
		</tr>
		<tr>
			<td>领域</td>
			<td><s:property value="#project.field"/></td>
		</tr>
		<tr>
			<td>项目简介</td>
			<td><s:property value="#project.introduce "/></td>
		</tr>
		<tr>
			<td>周期</td>
			<td><s:property value="#project.period "/></td>
		</tr>
		<tr>
			<td>实验室</td>
			<td><s:property value="#project.achievement"/></td>
		</tr>
		<tr>
			<td>工作地点</td>
			<td><s:property value="#project.workplace"/></td>
		</tr>
		<tr>
			<td>项目薪酬</td>
			<td><s:property value="#project.payment "/></td>
		</tr>
		<tr>
			<td>招收标准</td>
			<td><s:property value="#project.demand"/></td>
		</tr>
		<tr>
			<td>是否签订合同</td>
			<td><s:property value="#project.isContract"/></td>
		</tr>
		<tr>
			<td>项目级别</td>
			<td><s:property value="#project.levels"/></td>
		</tr>
		
	</table>
	
	  <s:form action="stuProAction!addNewApply">
	  <s:set name="project" value="#request.project"/>	
      <s:hidden value="%{#project.pid}" name="Pid"></s:hidden>
      <s:submit value="提交"></s:submit>
      </s:form>
  
   </center>
  </body>
</html>
